package com.futuremap.ws.entity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class UserAnnotationInteraction extends BaseEntity2{
	
	
	/**
	 * 公司id
	 */
	@ApiModelProperty(value="公司id",required=true)
	@NotNull
	private Integer companyId;

	/**
	 * 问题内容
	 */
	@ApiModelProperty(value="批注id",required=true)
	@NotNull
	private Integer annotationId;

	/**
	 * 批注创建人
	 */
	@ApiModelProperty(value="互动创建人id",required=true)
	@NotNull
	private Integer userId;
	
	/**
	 * 批注创建人
	 */
	@ApiModelProperty(value="互动创建人名称",required=true)
	@NotBlank
	private String userName;

	private Integer receiverId;
	
	private String receiverName;

	/**
	 * 批注内容
	 */
	@ApiModelProperty(value="互动内容(5000字内)",required=true)
	private String content;

	/**
	 * 附件，名称，url用json字符串
	 */
	@ApiModelProperty("前端传入的json类型字符串")
	private String attachments;

	/**
	 * 已读状态 0-未读 1-已读
	 */
	private Integer readStatus;
	
}
